package com.community.process._1010.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.community.process._1010.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * 到餐加工购物车
 *
 * @author Zbs
 * @since 2024-09-05
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@TableName("yg_process_cart")
@Schema(description = "到餐加工购物车")
public class ProcessCart extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "商品ID")
    private Long itemId;

    @Schema(description = "商品类型 1 食材 2 成品菜")
    private Integer type;

    @Schema(description = "商品名称")
    private String itemName;

    @Schema(description = "商品数量")
    private Integer itemNum;

    @Schema(description = "商品单价")
    private Long itemPrice;

    @Schema(description = "商品总价")
    private Long totalPrice;

    @Schema(description = "单位")
    private String units;

    @Schema(description = "图片")
    private String image;

    @Schema(description = "口袋编号")
    private Integer pocket;

    @Schema(description = "备注")
    private String remark;


}
